<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_40) on Sun Feb 14 21:38:40 CET 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Graph (gephi 0.9.1 API)</title>
<meta name="date" content="2016-02-14">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="Graph (gephi 0.9.1 API)";
        }
    }
    catch(err) {
    }
//-->
var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":6,"i50":6,"i51":6,"i52":6,"i53":6,"i54":6,"i55":6,"i56":6,"i57":6,"i58":6,"i59":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Graph.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/gephi/graph/api/Estimator.html" title="enum in org.gephi.graph.api"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/gephi/graph/api/GraphBridge.html" title="interface in org.gephi.graph.api"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/gephi/graph/api/Graph.html" target="_top">Frames</a></li>
<li><a href="Graph.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.gephi.graph.api</div>
<h2 title="Interface Graph" class="title">Interface Graph</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Subinterfaces:</dt>
<dd><a href="../../../../org/gephi/graph/api/DirectedGraph.html" title="interface in org.gephi.graph.api">DirectedGraph</a>, <a href="../../../../org/gephi/graph/api/DirectedSubgraph.html" title="interface in org.gephi.graph.api">DirectedSubgraph</a>, <a href="../../../../org/gephi/graph/api/Subgraph.html" title="interface in org.gephi.graph.api">Subgraph</a>, <a href="../../../../org/gephi/graph/api/UndirectedGraph.html" title="interface in org.gephi.graph.api">UndirectedGraph</a>, <a href="../../../../org/gephi/graph/api/UndirectedSubgraph.html" title="interface in org.gephi.graph.api">UndirectedSubgraph</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="typeNameLabel">Graph</span></pre>
<div class="block">Graph interface.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#addAllEdges-java.util.Collection-">addAllEdges</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;? extends <a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&gt;&nbsp;edges)</code>
<div class="block">Adds all edges in the collection to this graph.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#addAllNodes-java.util.Collection-">addAllNodes</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;? extends <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&gt;&nbsp;nodes)</code>
<div class="block">Adds all nodes in the collection to this graph.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#addEdge-org.gephi.graph.api.Edge-">addEdge</a></span>(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge)</code>
<div class="block">Adds an edge to this graph.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#addNode-org.gephi.graph.api.Node-">addNode</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Adds a node to this graph.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#clear--">clear</a></span>()</code>
<div class="block">Clears all edges and all nodes in the graph</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#clearEdges--">clearEdges</a></span>()</code>
<div class="block">Clears all edges in the graph</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#clearEdges-org.gephi.graph.api.Node-">clearEdges</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Clears the edges incident to the given node.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#clearEdges-org.gephi.graph.api.Node-int-">clearEdges</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node,
          int&nbsp;type)</code>
<div class="block">Clears the edges of the given type incident to the given node.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#contains-org.gephi.graph.api.Edge-">contains</a></span>(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge)</code>
<div class="block">Returns true if <em>edge</em> is contained in this graph.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#contains-org.gephi.graph.api.Node-">contains</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Returns true if <em>node</em> is contained in this graph.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getAttribute-java.lang.String-">getAttribute</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</code>
<div class="block">Gets the attribute value for the given key.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getAttribute-java.lang.String-double-">getAttribute</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
            double&nbsp;timestamp)</code>
<div class="block">Gets the attribute for the given key and timestamp</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getAttribute-java.lang.String-org.gephi.graph.api.Interval-">getAttribute</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
            <a href="../../../../org/gephi/graph/api/Interval.html" title="class in org.gephi.graph.api">Interval</a>&nbsp;interval)</code>
<div class="block">Gets the attribute for the given key and interval</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getAttributeKeys--">getAttributeKeys</a></span>()</code>
<div class="block">Gets all attribute keys.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getDegree-org.gephi.graph.api.Node-">getDegree</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Gets the node degree.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getEdge-org.gephi.graph.api.Node-org.gephi.graph.api.Node-">getEdge</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node1,
       <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node2)</code>
<div class="block">Gets the edge adjacent to node1 and node2.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getEdge-org.gephi.graph.api.Node-org.gephi.graph.api.Node-int-">getEdge</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node1,
       <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node2,
       int&nbsp;type)</code>
<div class="block">Gets the edge adjacent to node1 and node2 and from the given type.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getEdge-java.lang.Object-">getEdge</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;id)</code>
<div class="block">Gets an edge by its identifier.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getEdgeCount--">getEdgeCount</a></span>()</code>
<div class="block">Gets the number of edges in the graph.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getEdgeCount-int-">getEdgeCount</a></span>(int&nbsp;type)</code>
<div class="block">Gets the number of edges of the given type in the graph.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/EdgeIterable.html" title="interface in org.gephi.graph.api">EdgeIterable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getEdges--">getEdges</a></span>()</code>
<div class="block">Gets all the edges in the graph.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/EdgeIterable.html" title="interface in org.gephi.graph.api">EdgeIterable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getEdges-org.gephi.graph.api.Node-">getEdges</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Gets all edges incident to a given node.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/EdgeIterable.html" title="interface in org.gephi.graph.api">EdgeIterable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getEdges-org.gephi.graph.api.Node-int-">getEdges</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node,
        int&nbsp;type)</code>
<div class="block">Gets all edges incident to a given node with the given edge type.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/EdgeIterable.html" title="interface in org.gephi.graph.api">EdgeIterable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getEdges-org.gephi.graph.api.Node-org.gephi.graph.api.Node-">getEdges</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node1,
        <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node2)</code>
<div class="block">Get the edges adjacent to node1 and node2.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/EdgeIterable.html" title="interface in org.gephi.graph.api">EdgeIterable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getEdges-org.gephi.graph.api.Node-org.gephi.graph.api.Node-int-">getEdges</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node1,
        <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node2,
        int&nbsp;type)</code>
<div class="block">Gets the edges adjacent to node1 and node 2 and from the given type.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/GraphModel.html" title="interface in org.gephi.graph.api">GraphModel</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getModel--">getModel</a></span>()</code>
<div class="block">Returns the model this graph belongs to.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/NodeIterable.html" title="interface in org.gephi.graph.api">NodeIterable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getNeighbors-org.gephi.graph.api.Node-">getNeighbors</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Gets all neighbors of a given node.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/NodeIterable.html" title="interface in org.gephi.graph.api">NodeIterable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getNeighbors-org.gephi.graph.api.Node-int-">getNeighbors</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node,
            int&nbsp;type)</code>
<div class="block">Gets all neighbors of a given node connected through the given edge type.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getNode-java.lang.Object-">getNode</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;id)</code>
<div class="block">Gets a node given its identifier.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getNodeCount--">getNodeCount</a></span>()</code>
<div class="block">Gets the number of nodes in the graph.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/NodeIterable.html" title="interface in org.gephi.graph.api">NodeIterable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getNodes--">getNodes</a></span>()</code>
<div class="block">Gets all the nodes in the graph.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getOpposite-org.gephi.graph.api.Node-org.gephi.graph.api.Edge-">getOpposite</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node,
           <a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge)</code>
<div class="block">Gets the node at the opposite end of the given edge.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/EdgeIterable.html" title="interface in org.gephi.graph.api">EdgeIterable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getSelfLoops--">getSelfLoops</a></span>()</code>
<div class="block">Gets all the self-loop edges in the graph.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/GraphView.html" title="interface in org.gephi.graph.api">GraphView</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#getView--">getView</a></span>()</code>
<div class="block">Gets the graph view associated to this graph.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#hasEdge-java.lang.Object-">hasEdge</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;id)</code>
<div class="block">Returns true if an edge with <em>id</em> as identifier exists.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#hasNode-java.lang.Object-">hasNode</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;id)</code>
<div class="block">Returns true if a node with <em>id</em> as identifier exists.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#isAdjacent-org.gephi.graph.api.Node-org.gephi.graph.api.Node-">isAdjacent</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node1,
          <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node2)</code>
<div class="block">Returns true if node1 and node2 are adjacent.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#isAdjacent-org.gephi.graph.api.Node-org.gephi.graph.api.Node-int-">isAdjacent</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node1,
          <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node2,
          int&nbsp;type)</code>
<div class="block">Returns true if node1 and node2 are adjacent with an edge of the given
 type.</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#isDirected--">isDirected</a></span>()</code>
<div class="block">Returns true if this graph is directed.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#isDirected-org.gephi.graph.api.Edge-">isDirected</a></span>(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge)</code>
<div class="block">Returns true if the given edge is directed.</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#isIncident-org.gephi.graph.api.Edge-org.gephi.graph.api.Edge-">isIncident</a></span>(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge1,
          <a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge2)</code>
<div class="block">Returns true if edge1 and edge2 are incident.</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#isIncident-org.gephi.graph.api.Node-org.gephi.graph.api.Edge-">isIncident</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node,
          <a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge)</code>
<div class="block">Returns true if the node and the edge are incident.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#isMixed--">isMixed</a></span>()</code>
<div class="block">Returns true if this graph is mixed (both directed and undirected edges).</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#isSelfLoop-org.gephi.graph.api.Edge-">isSelfLoop</a></span>(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge)</code>
<div class="block">Returns true if the given edge is a self-loop.</div>
</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#isUndirected--">isUndirected</a></span>()</code>
<div class="block">Returns true if this graph is undirected.</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#readLock--">readLock</a></span>()</code>
<div class="block">Opens a read lock for the current thread.</div>
</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#readUnlock--">readUnlock</a></span>()</code>
<div class="block">Closes a read lock for the current thread.</div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#readUnlockAll--">readUnlockAll</a></span>()</code>
<div class="block">Closes all read locks for the current thread.</div>
</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#removeAllEdges-java.util.Collection-">removeAllEdges</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;? extends <a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&gt;&nbsp;edges)</code>
<div class="block">Removes all edges in the collection from this graph.</div>
</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#removeAllNodes-java.util.Collection-">removeAllNodes</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;? extends <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&gt;&nbsp;nodes)</code>
<div class="block">Removes all nodes in the collection from this graph.</div>
</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#removeAttribute-java.lang.String-">removeAttribute</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</code>
<div class="block">Removes the attribute for the given key.</div>
</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#removeAttribute-java.lang.String-double-">removeAttribute</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
               double&nbsp;timestamp)</code>
<div class="block">Removes the attribute for the given key and timestamp.</div>
</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#removeAttribute-java.lang.String-org.gephi.graph.api.Interval-">removeAttribute</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
               <a href="../../../../org/gephi/graph/api/Interval.html" title="class in org.gephi.graph.api">Interval</a>&nbsp;interval)</code>
<div class="block">Removes the attribute for the given key and interval.</div>
</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#removeEdge-org.gephi.graph.api.Edge-">removeEdge</a></span>(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge)</code>
<div class="block">Removes an edge from this graph.</div>
</td>
</tr>
<tr id="i54" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#removeNode-org.gephi.graph.api.Node-">removeNode</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Removes a node from this graph.</div>
</td>
</tr>
<tr id="i55" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#setAttribute-java.lang.String-java.lang.Object-">setAttribute</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
<div class="block">Sets the attribute value for the given key.</div>
</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#setAttribute-java.lang.String-java.lang.Object-double-">setAttribute</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
            double&nbsp;timestamp)</code>
<div class="block">Sets the attribute value for the given key and timestamp.</div>
</td>
</tr>
<tr id="i57" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#setAttribute-java.lang.String-java.lang.Object-org.gephi.graph.api.Interval-">setAttribute</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
            <a href="../../../../org/gephi/graph/api/Interval.html" title="class in org.gephi.graph.api">Interval</a>&nbsp;interval)</code>
<div class="block">Sets the attribute value for the given key and interval.</div>
</td>
</tr>
<tr id="i58" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#writeLock--">writeLock</a></span>()</code>
<div class="block">Opens a write lock for the current thread.</div>
</td>
</tr>
<tr id="i59" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/graph/api/Graph.html#writeUnlock--">writeUnlock</a></span>()</code>
<div class="block">Closes a write lock for the current thread.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="addEdge-org.gephi.graph.api.Edge-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addEdge</h4>
<pre>boolean&nbsp;addEdge(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge)</pre>
<div class="block">Adds an edge to this graph.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>edge</code> - the edge to add</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the edge has been added, false if it already exists</dd>
</dl>
</li>
</ul>
<a name="addNode-org.gephi.graph.api.Node-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addNode</h4>
<pre>boolean&nbsp;addNode(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block">Adds a node to this graph.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - the node to add</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the node has been added, false if it already exists</dd>
</dl>
</li>
</ul>
<a name="addAllEdges-java.util.Collection-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAllEdges</h4>
<pre>boolean&nbsp;addAllEdges(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;? extends <a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&gt;&nbsp;edges)</pre>
<div class="block">Adds all edges in the collection to this graph.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>edges</code> - the edge collection</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if at least one edge has been added, false otherwise</dd>
</dl>
</li>
</ul>
<a name="addAllNodes-java.util.Collection-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAllNodes</h4>
<pre>boolean&nbsp;addAllNodes(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;? extends <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&gt;&nbsp;nodes)</pre>
<div class="block">Adds all nodes in the collection to this graph.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nodes</code> - the node collection</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if at least one node has been added, false otherwise</dd>
</dl>
</li>
</ul>
<a name="removeEdge-org.gephi.graph.api.Edge-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeEdge</h4>
<pre>boolean&nbsp;removeEdge(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge)</pre>
<div class="block">Removes an edge from this graph.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>edge</code> - the edge to remove</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the edge was removed, false if it didn't exist</dd>
</dl>
</li>
</ul>
<a name="removeNode-org.gephi.graph.api.Node-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeNode</h4>
<pre>boolean&nbsp;removeNode(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block">Removes a node from this graph.
 <p>
 All edges attached to the node will be removed as well.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - the node to remove</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the node was removed, false if it didn't exist</dd>
</dl>
</li>
</ul>
<a name="removeAllEdges-java.util.Collection-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAllEdges</h4>
<pre>boolean&nbsp;removeAllEdges(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;? extends <a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&gt;&nbsp;edges)</pre>
<div class="block">Removes all edges in the collection from this graph.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>edges</code> - the edge collection</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if at least one edge has been removed, false otherwise</dd>
</dl>
</li>
</ul>
<a name="removeAllNodes-java.util.Collection-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAllNodes</h4>
<pre>boolean&nbsp;removeAllNodes(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;? extends <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&gt;&nbsp;nodes)</pre>
<div class="block">Removes all nodes in the collection from this graph.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nodes</code> - the node collection</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if at least one node has been removed, false otherwise</dd>
</dl>
</li>
</ul>
<a name="contains-org.gephi.graph.api.Node-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contains</h4>
<pre>boolean&nbsp;contains(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block">Returns true if <em>node</em> is contained in this graph.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - the node to test</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if this graph contains <em>node</em>, false otherwise</dd>
</dl>
</li>
</ul>
<a name="contains-org.gephi.graph.api.Edge-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contains</h4>
<pre>boolean&nbsp;contains(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge)</pre>
<div class="block">Returns true if <em>edge</em> is contained in this graph.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>edge</code> - the edge to test</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if this graph contains <em>edge</em>, false otherwise</dd>
</dl>
</li>
</ul>
<a name="getNode-java.lang.Object-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNode</h4>
<pre><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;getNode(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;id)</pre>
<div class="block">Gets a node given its identifier.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - the node id</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the node, or null if not found</dd>
</dl>
</li>
</ul>
<a name="hasNode-java.lang.Object-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasNode</h4>
<pre>boolean&nbsp;hasNode(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;id)</pre>
<div class="block">Returns true if a node with <em>id</em> as identifier exists.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - node id</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if a node exists, false otherwise</dd>
</dl>
</li>
</ul>
<a name="getEdge-java.lang.Object-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdge</h4>
<pre><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;getEdge(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;id)</pre>
<div class="block">Gets an edge by its identifier.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - the edge id</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the edge, or null if not found</dd>
</dl>
</li>
</ul>
<a name="hasEdge-java.lang.Object-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasEdge</h4>
<pre>boolean&nbsp;hasEdge(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;id)</pre>
<div class="block">Returns true if an edge with <em>id</em> as identifier exists.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - edge id</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if an edge exists, false otherwise</dd>
</dl>
</li>
</ul>
<a name="getEdge-org.gephi.graph.api.Node-org.gephi.graph.api.Node-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdge</h4>
<pre><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;getEdge(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node1,
             <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node2)</pre>
<div class="block">Gets the edge adjacent to node1 and node2.
 <p>
 If multiple parallel edges exist it returns the first edge.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node1</code> - first node</dd>
<dd><code>node2</code> - second node</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>adjacent edge, or null if not found</dd>
</dl>
</li>
</ul>
<a name="getEdges-org.gephi.graph.api.Node-org.gephi.graph.api.Node-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdges</h4>
<pre><a href="../../../../org/gephi/graph/api/EdgeIterable.html" title="interface in org.gephi.graph.api">EdgeIterable</a>&nbsp;getEdges(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node1,
                      <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node2)</pre>
<div class="block">Get the edges adjacent to node1 and node2.
 <p>
 If there aren't any parallel edges only one edge will be returned.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node1</code> - first node</dd>
<dd><code>node2</code> - second node</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>adjacent edges</dd>
</dl>
</li>
</ul>
<a name="getEdge-org.gephi.graph.api.Node-org.gephi.graph.api.Node-int-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdge</h4>
<pre><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;getEdge(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node1,
             <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node2,
             int&nbsp;type)</pre>
<div class="block">Gets the edge adjacent to node1 and node2 and from the given type.
 <p>
 If multiple parallel edges exist it returns the first edge.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node1</code> - the first node</dd>
<dd><code>node2</code> - the second node</dd>
<dd><code>type</code> - the edge type</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the adjacent edge, or null if not found</dd>
</dl>
</li>
</ul>
<a name="getEdges-org.gephi.graph.api.Node-org.gephi.graph.api.Node-int-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdges</h4>
<pre><a href="../../../../org/gephi/graph/api/EdgeIterable.html" title="interface in org.gephi.graph.api">EdgeIterable</a>&nbsp;getEdges(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node1,
                      <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node2,
                      int&nbsp;type)</pre>
<div class="block">Gets the edges adjacent to node1 and node 2 and from the given type.
 <p>
 If there aren't any parallel edges only one edge will be returned.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node1</code> - the first node</dd>
<dd><code>node2</code> - the second node</dd>
<dd><code>type</code> - the edge type</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the adjacent edges, or an empty iterator if not found</dd>
</dl>
</li>
</ul>
<a name="getNodes--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNodes</h4>
<pre><a href="../../../../org/gephi/graph/api/NodeIterable.html" title="interface in org.gephi.graph.api">NodeIterable</a>&nbsp;getNodes()</pre>
<div class="block">Gets all the nodes in the graph.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a node iterable over all nodes</dd>
</dl>
</li>
</ul>
<a name="getEdges--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdges</h4>
<pre><a href="../../../../org/gephi/graph/api/EdgeIterable.html" title="interface in org.gephi.graph.api">EdgeIterable</a>&nbsp;getEdges()</pre>
<div class="block">Gets all the edges in the graph.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an edge iterable over all edges</dd>
</dl>
</li>
</ul>
<a name="getSelfLoops--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSelfLoops</h4>
<pre><a href="../../../../org/gephi/graph/api/EdgeIterable.html" title="interface in org.gephi.graph.api">EdgeIterable</a>&nbsp;getSelfLoops()</pre>
<div class="block">Gets all the self-loop edges in the graph.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an edge iterable over all self-loops</dd>
</dl>
</li>
</ul>
<a name="getNeighbors-org.gephi.graph.api.Node-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNeighbors</h4>
<pre><a href="../../../../org/gephi/graph/api/NodeIterable.html" title="interface in org.gephi.graph.api">NodeIterable</a>&nbsp;getNeighbors(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block">Gets all neighbors of a given node.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - the node to get neighbors</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a node iterable over the neighbors</dd>
</dl>
</li>
</ul>
<a name="getNeighbors-org.gephi.graph.api.Node-int-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNeighbors</h4>
<pre><a href="../../../../org/gephi/graph/api/NodeIterable.html" title="interface in org.gephi.graph.api">NodeIterable</a>&nbsp;getNeighbors(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node,
                          int&nbsp;type)</pre>
<div class="block">Gets all neighbors of a given node connected through the given edge type.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - the node to get neighbors</dd>
<dd><code>type</code> - the edge type</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a node iterable over the neigbors</dd>
</dl>
</li>
</ul>
<a name="getEdges-org.gephi.graph.api.Node-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdges</h4>
<pre><a href="../../../../org/gephi/graph/api/EdgeIterable.html" title="interface in org.gephi.graph.api">EdgeIterable</a>&nbsp;getEdges(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block">Gets all edges incident to a given node.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - the node to get edges from</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an edge iterable of all edges connected to the node</dd>
</dl>
</li>
</ul>
<a name="getEdges-org.gephi.graph.api.Node-int-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdges</h4>
<pre><a href="../../../../org/gephi/graph/api/EdgeIterable.html" title="interface in org.gephi.graph.api">EdgeIterable</a>&nbsp;getEdges(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node,
                      int&nbsp;type)</pre>
<div class="block">Gets all edges incident to a given node with the given edge type.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - the node to get edges from</dd>
<dd><code>type</code> - the edge type</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an edge iterable of the edges connected to the node</dd>
</dl>
</li>
</ul>
<a name="getNodeCount--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNodeCount</h4>
<pre>int&nbsp;getNodeCount()</pre>
<div class="block">Gets the number of nodes in the graph.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the node count</dd>
</dl>
</li>
</ul>
<a name="getEdgeCount--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdgeCount</h4>
<pre>int&nbsp;getEdgeCount()</pre>
<div class="block">Gets the number of edges in the graph.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the edge count</dd>
</dl>
</li>
</ul>
<a name="getEdgeCount-int-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdgeCount</h4>
<pre>int&nbsp;getEdgeCount(int&nbsp;type)</pre>
<div class="block">Gets the number of edges of the given type in the graph.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - the edge type</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the edge count for the given type</dd>
</dl>
</li>
</ul>
<a name="getOpposite-org.gephi.graph.api.Node-org.gephi.graph.api.Edge-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOpposite</h4>
<pre><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;getOpposite(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node,
                 <a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge)</pre>
<div class="block">Gets the node at the opposite end of the given edge.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - the node to get the opposite</dd>
<dd><code>edge</code> - the edge connected to both nodes</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the opposite node</dd>
</dl>
</li>
</ul>
<a name="getDegree-org.gephi.graph.api.Node-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDegree</h4>
<pre>int&nbsp;getDegree(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block">Gets the node degree.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - the node</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the degree</dd>
</dl>
</li>
</ul>
<a name="isSelfLoop-org.gephi.graph.api.Edge-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSelfLoop</h4>
<pre>boolean&nbsp;isSelfLoop(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge)</pre>
<div class="block">Returns true if the given edge is a self-loop.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>edge</code> - the edge to test</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if self-loop, false otherwise</dd>
</dl>
</li>
</ul>
<a name="isDirected-org.gephi.graph.api.Edge-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isDirected</h4>
<pre>boolean&nbsp;isDirected(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge)</pre>
<div class="block">Returns true if the given edge is directed.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>edge</code> - the edge to test</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if directed, false otherwise</dd>
</dl>
</li>
</ul>
<a name="isAdjacent-org.gephi.graph.api.Node-org.gephi.graph.api.Node-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAdjacent</h4>
<pre>boolean&nbsp;isAdjacent(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node1,
                   <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node2)</pre>
<div class="block">Returns true if node1 and node2 are adjacent.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node1</code> - the first node</dd>
<dd><code>node2</code> - the second node</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if node1 is adjacent to node2, false otherwise</dd>
</dl>
</li>
</ul>
<a name="isAdjacent-org.gephi.graph.api.Node-org.gephi.graph.api.Node-int-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAdjacent</h4>
<pre>boolean&nbsp;isAdjacent(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node1,
                   <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node2,
                   int&nbsp;type)</pre>
<div class="block">Returns true if node1 and node2 are adjacent with an edge of the given
 type.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node1</code> - the first node</dd>
<dd><code>node2</code> - the second node</dd>
<dd><code>type</code> - the edge type</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if node1 and node2 are adjacent with an edge og the given
         type, false otherwise</dd>
</dl>
</li>
</ul>
<a name="isIncident-org.gephi.graph.api.Edge-org.gephi.graph.api.Edge-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isIncident</h4>
<pre>boolean&nbsp;isIncident(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge1,
                   <a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge2)</pre>
<div class="block">Returns true if edge1 and edge2 are incident.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>edge1</code> - the first edge</dd>
<dd><code>edge2</code> - the second edge</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if edge1 is incident to edge2, false otherwise</dd>
</dl>
</li>
</ul>
<a name="isIncident-org.gephi.graph.api.Node-org.gephi.graph.api.Edge-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isIncident</h4>
<pre>boolean&nbsp;isIncident(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node,
                   <a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge)</pre>
<div class="block">Returns true if the node and the edge are incident.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - the node</dd>
<dd><code>edge</code> - the edge</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the node and edge are incident, false otherwise</dd>
</dl>
</li>
</ul>
<a name="clearEdges-org.gephi.graph.api.Node-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearEdges</h4>
<pre>void&nbsp;clearEdges(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block">Clears the edges incident to the given node.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - the node to clear edges from</dd>
</dl>
</li>
</ul>
<a name="clearEdges-org.gephi.graph.api.Node-int-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearEdges</h4>
<pre>void&nbsp;clearEdges(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node,
                int&nbsp;type)</pre>
<div class="block">Clears the edges of the given type incident to the given node.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - the node to clear edges from</dd>
<dd><code>type</code> - the edge type</dd>
</dl>
</li>
</ul>
<a name="clear--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clear</h4>
<pre>void&nbsp;clear()</pre>
<div class="block">Clears all edges and all nodes in the graph</div>
</li>
</ul>
<a name="clearEdges--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearEdges</h4>
<pre>void&nbsp;clearEdges()</pre>
<div class="block">Clears all edges in the graph</div>
</li>
</ul>
<a name="getView--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getView</h4>
<pre><a href="../../../../org/gephi/graph/api/GraphView.html" title="interface in org.gephi.graph.api">GraphView</a>&nbsp;getView()</pre>
<div class="block">Gets the graph view associated to this graph.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the graph view</dd>
</dl>
</li>
</ul>
<a name="getAttribute-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAttribute</h4>
<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;getAttribute(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</pre>
<div class="block">Gets the attribute value for the given key.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the attribute value, or null if not found</dd>
</dl>
</li>
</ul>
<a name="getAttribute-java.lang.String-double-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAttribute</h4>
<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;getAttribute(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
                    double&nbsp;timestamp)</pre>
<div class="block">Gets the attribute for the given key and timestamp</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key</dd>
<dd><code>timestamp</code> - the timestamp</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the attribute value, or null if not found</dd>
</dl>
</li>
</ul>
<a name="getAttribute-java.lang.String-org.gephi.graph.api.Interval-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAttribute</h4>
<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;getAttribute(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
                    <a href="../../../../org/gephi/graph/api/Interval.html" title="class in org.gephi.graph.api">Interval</a>&nbsp;interval)</pre>
<div class="block">Gets the attribute for the given key and interval</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key</dd>
<dd><code>interval</code> - the interval</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the attribute value, or null if not found</dd>
</dl>
</li>
</ul>
<a name="setAttribute-java.lang.String-java.lang.Object-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAttribute</h4>
<pre>void&nbsp;setAttribute(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</pre>
<div class="block">Sets the attribute value for the given key.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key</dd>
<dd><code>value</code> - the value</dd>
</dl>
</li>
</ul>
<a name="removeAttribute-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAttribute</h4>
<pre>void&nbsp;removeAttribute(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</pre>
<div class="block">Removes the attribute for the given key.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - key</dd>
</dl>
</li>
</ul>
<a name="setAttribute-java.lang.String-java.lang.Object-double-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAttribute</h4>
<pre>void&nbsp;setAttribute(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
                  double&nbsp;timestamp)</pre>
<div class="block">Sets the attribute value for the given key and timestamp.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key</dd>
<dd><code>value</code> - the value</dd>
<dd><code>timestamp</code> - the timestamp</dd>
</dl>
</li>
</ul>
<a name="setAttribute-java.lang.String-java.lang.Object-org.gephi.graph.api.Interval-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAttribute</h4>
<pre>void&nbsp;setAttribute(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
                  <a href="../../../../org/gephi/graph/api/Interval.html" title="class in org.gephi.graph.api">Interval</a>&nbsp;interval)</pre>
<div class="block">Sets the attribute value for the given key and interval.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key</dd>
<dd><code>value</code> - the value</dd>
<dd><code>interval</code> - the interval</dd>
</dl>
</li>
</ul>
<a name="removeAttribute-java.lang.String-double-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAttribute</h4>
<pre>void&nbsp;removeAttribute(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
                     double&nbsp;timestamp)</pre>
<div class="block">Removes the attribute for the given key and timestamp.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - key</dd>
<dd><code>timestamp</code> - timestamp</dd>
</dl>
</li>
</ul>
<a name="removeAttribute-java.lang.String-org.gephi.graph.api.Interval-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAttribute</h4>
<pre>void&nbsp;removeAttribute(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
                     <a href="../../../../org/gephi/graph/api/Interval.html" title="class in org.gephi.graph.api">Interval</a>&nbsp;interval)</pre>
<div class="block">Removes the attribute for the given key and interval.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - key</dd>
<dd><code>interval</code> - interval</dd>
</dl>
</li>
</ul>
<a name="getAttributeKeys--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAttributeKeys</h4>
<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;getAttributeKeys()</pre>
<div class="block">Gets all attribute keys.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a set of all attribute keys</dd>
</dl>
</li>
</ul>
<a name="getModel--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getModel</h4>
<pre><a href="../../../../org/gephi/graph/api/GraphModel.html" title="interface in org.gephi.graph.api">GraphModel</a>&nbsp;getModel()</pre>
<div class="block">Returns the model this graph belongs to.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>graph model</dd>
</dl>
</li>
</ul>
<a name="isDirected--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isDirected</h4>
<pre>boolean&nbsp;isDirected()</pre>
<div class="block">Returns true if this graph is directed.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if directed, false otherwise</dd>
</dl>
</li>
</ul>
<a name="isUndirected--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isUndirected</h4>
<pre>boolean&nbsp;isUndirected()</pre>
<div class="block">Returns true if this graph is undirected.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if undirected, false otherwise</dd>
</dl>
</li>
</ul>
<a name="isMixed--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isMixed</h4>
<pre>boolean&nbsp;isMixed()</pre>
<div class="block">Returns true if this graph is mixed (both directed and undirected edges).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if mixed, false otherwise</dd>
</dl>
</li>
</ul>
<a name="readLock--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readLock</h4>
<pre>void&nbsp;readLock()</pre>
<div class="block">Opens a read lock for the current thread.</div>
</li>
</ul>
<a name="readUnlock--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readUnlock</h4>
<pre>void&nbsp;readUnlock()</pre>
<div class="block">Closes a read lock for the current thread.</div>
</li>
</ul>
<a name="readUnlockAll--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readUnlockAll</h4>
<pre>void&nbsp;readUnlockAll()</pre>
<div class="block">Closes all read locks for the current thread.</div>
</li>
</ul>
<a name="writeLock--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeLock</h4>
<pre>void&nbsp;writeLock()</pre>
<div class="block">Opens a write lock for the current thread.</div>
</li>
</ul>
<a name="writeUnlock--">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>writeUnlock</h4>
<pre>void&nbsp;writeUnlock()</pre>
<div class="block">Closes a write lock for the current thread.</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Graph.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/gephi/graph/api/Estimator.html" title="enum in org.gephi.graph.api"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/gephi/graph/api/GraphBridge.html" title="interface in org.gephi.graph.api"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/gephi/graph/api/Graph.html" target="_top">Frames</a></li>
<li><a href="Graph.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2007&#x2013;2016 <a href="http://consortium.gephi.org">Gephi Consortium</a>. All rights reserved.</small></p>
</body>
</html>
